-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URLPopover: Fix a problem with the layout of link settings #58906
Conversation
Size Change: -3 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
I will give this PR a backport label. This is because this layout problem appeared in #57608, and I think it can also be considered a regression that occurred in WP6.5. |
948720a
to
66d612a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@getdave Thanks for the review! |
Co-authored-by: t-hamano <[email protected]> Co-authored-by: getdave <[email protected]>
I just cherry-picked this PR to the update/packages-6.5-rc1 branch to get it included in the next release: 8f8f533 |
Co-authored-by: t-hamano <[email protected]> Co-authored-by: getdave <[email protected]>
Follow up #57608, #58505
What?
This PR fixes the layout collapse when opening "Link Settings" in the URLPopover component.
Why?
As far as I investigated, I think that the location rendered by
renderSettings
may not be correct in the first place. There may have been no problems up until now, but the redesign with #57608 may have caused the layout to break down.I think it's easier to apply a consistent style if this setting is placed in parallel with
additionalControls
.How?
I changed where the content is rendered when opening the link settings. The
block-editor-url-popover__row
class should also be unnecessary.This PR only includes minimal fixes, but we should fix those issues in a follow-up. Based on the discussion made in #58505, at least the following issues should be addressed:
Testing Instructions